package cn.lyvust.work.exam03;

/**
 * Description:
 * date: 2021-5-17 20:49
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class CureThread implements Runnable{

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("特需号："+(i+1)+"号病人在看病！");
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
